package org.jeecg.modules.health_code.entity.response.bo;

import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "公共响应参数")
public class BaseResponse implements Serializable
{
    private static final long serialVersionUID = -6260441881354220178L;

    @ApiModelProperty(value = "业务消耗时间（毫秒）")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long busConsumeTime;
    
    @ApiModelProperty(value = "网络消耗时间（毫秒）")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long netConsumeTime;
    
    @ApiModelProperty(value = "三方调用时间（毫秒）")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long thirdPartyTime;
    
    @ApiModelProperty(value = "扩展字段,内容格式为JOSN，方便后面扩展使用")
    private String ext;
}
